package com.wzdigit.wms.wms.domain.inv.count;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;

import com.wzdigit.framework.orm.model.BasicDomain;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2021-10-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_INV_COUNT_DIF")
@KeySequence(value = "WMS_INV_COUNT_DIF_SEQ", clazz = Integer.class)
public class InvCountDif extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * 盘点差异ID
     */
    @ApiModelProperty(value = "盘点差异ID")
    @TableId("INV_COUNT_DIF_ID")
    private BigDecimal invCountDifId;

    /**
     * 盘点单明细ID
     */
    @ApiModelProperty(value = "盘点单明细ID")
    @TableField("INV_COUNT_DTL_ID")
    private BigDecimal invCountDtlId;

    /**
     * 工厂代码(组织)
     */
    @ApiModelProperty(value = "工厂代码")
    @TableField("FACTORY")
    private String factory;

    /**
     * 货品
     */
    @ApiModelProperty(value = "货品")
    @TableField("SKU_ID")
    private Integer skuId;

    /**
     * 供应商
     */
    @ApiModelProperty(value = "供应商")
    @TableField("VENDOR")
    private Integer vendor;

    /**
     * 库存性质
     */
    @ApiModelProperty(value = "库存性质")
    @TableField("INV_ATTR")
    private String invAttr;

    /**
     * 品质状态
     */
    @ApiModelProperty(value = "品质状态")
    @TableField("QA_STATUS")
    private Integer qaStatus;

    /**
     * 批次号
     */
    @ApiModelProperty(value = "批次号")
    @TableField("LOTNO")
    private String lotno;

    /**
     * 仓库
     */
    @ApiModelProperty(value = "仓库")
    @TableField("WHS_ID")
    private Integer whsId;

    /**
     * 库区
     */
    @ApiModelProperty(value = "库区")
    @TableField("ZONE_ID")
    private Integer zoneId;

    /**
     * 库位
     */
    @ApiModelProperty(value = "库位")
    @TableField("LOC_ID")
    private Integer locId;

    /**
     * 账面数量
     */
    @ApiModelProperty(value = "账面数量")
    @TableField("ACCOUNT_QTY")
    private BigDecimal accountQty;

    /**
     * 实盘数量
     */
    @ApiModelProperty(value = "实盘数量")
    @TableField("COUNT_QTY")
    private BigDecimal countQty;

    /**
     * 最终复盘数量
     */
    @ApiModelProperty(value = "最终复盘数量")
    @TableField("RE_COUNT_QTY")
    private BigDecimal reCountQty;

    /**
     * 单位
     */
    @ApiModelProperty(value = "单位")
    @TableField("UNIT")
    private String unit;

    /**
     * 盘点结果
     */
    @ApiModelProperty(value = "盘点结果")
    @TableField("RESULT")
    private Integer result;

    /**
     * 复盘次数
     */
    @ApiModelProperty(value = "复盘次数")
    @TableField("RE_COUNT_NUMBER")
    private Integer reCountNumber;

    /**
     * 盘点人
     */
    @ApiModelProperty(value = "盘点人")
    @TableField("COUNT_BY")
    private String countBy;

    /**
     * 盘点时间
     */
    @ApiModelProperty(value = "盘点时间")
    @TableField("COUNT_TIME")
    private Date countTime;

    /**
     * 最终复盘人
     */
    @ApiModelProperty(value = "最终复盘人")
    @TableField("RE_COUNT_BY")
    private String reCountBy;

    /**
     * 最终复盘时间
     */
    @ApiModelProperty(value = "最终复盘时间")
    @TableField("RE_COUNT_TIME")
    private Date reCountTime;

    /**
     * 差异调账时间
     */
    @ApiModelProperty(value = "差异调账时间")
    @TableField("DIF_ADJ_TIME")
    private Date difAdjTime;

    /**
     * 差异调账结果
     */
    @ApiModelProperty(value = "差异调账结果")
    @TableField("DIF_ADJ_RESULT")
    private Integer difAdjResult;

    /**
     * 差异调账单单号
     */
    @ApiModelProperty(value = "差异调账单单号")
    @TableField("DIF_ADJ_DOC_NO")
    private String difAdjDocNo;

    /**
     * 差异调账单行号
     */
    @ApiModelProperty(value = "差异调账单行号")
    @TableField("DIF_ADJ_DOC_LINE_NO")
    private Integer difAdjDocLineNo;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @TableField("COMMENTS")
    private String comments;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    @TableField("STATUS")
    private Integer status;

    /**
     * 最终盘点结果
     */
    @ApiModelProperty(value = "最终盘点结果")
    @TableField("RE_RESULT")
    private Integer reResult;



}
